What is the meaning of the word "go haywire"?

Definitions:

  1. act in an atypical way, especially in terms of anger and/or aggression copy to clipboard verb
    • After receiving a failing grade, the honors student went haywire. copy to clipboard
  2. not working properly copy to clipboard verb
    • The company's servers were going haywire last night. copy to clipboard